<%--
  Created by IntelliJ IDEA.
  User: xinjian.hu
  Date: 18-3-8
  Time: 下午2:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <meta charset="utf-8"/>
    <title>登录成功</title>
</head>
<body>
<h2>登录成功</h2>
<shiro:hasRole name="admin">
    admin角色权限
</shiro:hasRole>
<shiro:hasRole name="manager">
    mannager权限
</shiro:hasRole>
<shiro:hasPermission name="resource:view">
    查看资源权限
</shiro:hasPermission>
</body>
</html>
